<?php

/*
 * 数据库相关
 */
//ThinkSaas相关表
define("TABLE_TS_USER_INFO", "user_info");
define("COL_USER_NAME", "username");

//地理微博表
define("TABLE_GEOWEIBO", "geoweibo");
define("COL_GEOWEIBO_ID", "geoweibo_id");
define("COL_USER_ID", "userid");
define("COL_LATITUDE", "latitude");
define("COL_LONGTITUDE", "longtitude");
define("COL_MSG", "msg");
define("COL_COUNT_COMMENT", "count_comment");
define("COL_ADDTIME", "addtime");
define("COL_UPTIME", "uptime");
//评论表
define("TABLE_GEOWEIBO_COMMENT", "geoweibo_comment");
define("COL_COMMENT_ID", "comment_id");
define("COL_COMMENT", "comment");
//图片表
define("TABLE_GEOWEIBO_PHOTO", "geoweibo_photo");
define("COL_PHOTO_ID", "photo_id");
define("COL_PHOTONAME", "photoname");
define("COL_PHOTOTYPE", "phototype");
define("COL_PATH", "path");
define("COL_PHOTOURL", "photourl");
define("COL_PHOTOSIZE", "photosize");
define("COL_PHOTODESC", "photodesc");
define("COL_COUNT_VIEW", "count_view");

/*
 * 图片相关
 */
define("PHOTO_PATH", "geoweibo_photo");		//图片存储路径, uploadfile/geoweibo_photo

?>
